<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="utf-8">
    <title>辽宁石油化工大学</title>

    <link rel="stylesheet" href="../css/TeacherStyle.css">

</head>
<body class="loginbody">
<section>
    <header>
        <div class="loginheader"><b>毕业设计论文选课系统</b></div>
    </header>

    <section class="loginsection">

        <div class="logindiv1">登录</div>
        <div th:unless="${ #strings.isEmpty(msg)}" th:text="${msg}" style="color: red; margin-top: 30px; margin-left: 40px">用户名错误</div>

        <form th:action="@{/loginteacher}" th:method="post" action="/index.html">

            <div class="logininputbox1">
                <label for="user" th:text="#{login.UserName}">UserName</label>
                <input id="user" type="text" name="username">
            </div>

            <div class="logininputbox2">
                <label for="passwords" th:text="#{login.password}">PassWord</label>
                <input id="passwords" type="text" name="password">
            </div>

            <div class="logininputbox3">
                <input  type="submit" name="submit" th:value="#{login.submit}" value="登录">
                <input  type="reset" name="reset" th:value="#{login.reset}" value="重置">
            </div>

            <div >
                <a class="logina1" th:href="@{/indext.html(l='zh_CN')}" href="#">中文</a>
                <a  class="logina2" th:href="@{/indext.html(l='en_US')}" href="#">English</a>
            </div>

        </form>
    </section>

</section>
</body>
</html>
